/**
 * 
 */
package me.myachievements.web.account;

import me.myachievements.web.restricted.account.AccountDetailsPage;

import org.apache.wicket.markup.html.basic.Label;

/**
 * @author besseym
 *
 */
public class RegistrationFormPanel extends AccountFormPanel {

	/**
	 * @param id
	 */
	public RegistrationFormPanel(String id) {
		super(id);
		
		add(new CreateAccountForm("account_form", "Registration"){
			
			@Override
			protected void onSubmit(){
				super.onSubmit();
				setResponsePage(new AccountDetailsPage());
			}
		});
	}

}
